package org.deng.vertx.springboot.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Desc 读取application.yml的配置
 * 需要启用 @EnableConfigurationProperties
 * @since 2020/3/13 0013 9:41
 */
@ConfigurationProperties(prefix = "project")
@Data
public class ProjectProperties {

    private ProjectEnvEnum envEnum; // 项目环境

    private Integer port; //端口

    private String uploadDir; //文件上传临时目录


    private Boolean enableSwagger;

    private DbType dbType; //数据库类型

    private String schema;

}
